<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>系统收发邮件</title>
    <link rel="stylesheet" type="text/css" href="<?=base_url()?>public/css/style.css">
    <script type="text/javascript" src="<?=base_url()?>public/js/jq.1.12.4.js"></script>
    <script type="text/javascript" src="<?=base_url()?>public/js/js.js"></script>
<style>

</style>
</head>
<body>
    <!-- 头部 -->
    <?php echo $menu ?>
    <!-- 主体 -->
    <div class="main clearfix">
        <?php echo $left ?>

		<div class="content">
			<div class="con">
				<div class="bikuang">
                	
                    <div class="right_title"><span>联系我们&nbsp;&nbsp; -<span style="color:#1d3e00; margin:0;">&nbsp;&nbsp;留言列表</span></span></div>
                    <div class="person3">
                    	<table cellpadding="0" cellspacing="0">
                        	<tr>
                            	<th>标题</th>
                                <th>内容</th>
                                <th>日期</th>
								<th>回复状态</th>
                            </tr>
							<?php 
                            foreach ($result as $rs){
                            ?>
                            <tr>
                            	<td><a href="mail_detail/index?id=<?php echo $rs['id'];?>"><?php echo $rs['message_title'];?></a></td>
                                <td><?php echo $rs['message_content'];?></td>
                                <td><?php echo date("Y-m-d",$rs['message_time']);?></td>
								<td><?php if($rs['reply_status']==1){echo "已回复";}else{echo "待回复";}?></td>
                            </tr>
                            <?php }?>
                        </table>
                        <div class="number1">
                    	<ul>
                        	<li><img src="img/number_03.png"></li>
                            <li><img src="img/number_04.png"></li>
                            <li><img src="img/number_05.png"></li>
                            <li><img src="img/number_06.png"></li>
                            <li><img src="img/number_07.png"></li>
                            <li><img src="img/number_08.png"></li>
                            <li><img src="img/number_09.png"></li>
                            <li><img src="img/number_10.png"></li>
                        </ul>
                    </div>
                    </div>
                    
                    </div>
				</div>
			</div>
		</div>
	</div>
<script type="text/javascript">

</script>
</body>
</html>
